package com.woniu.zsd.commons.exception;

public class ZsdException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private Integer code;

    public ZsdException(String msg, Integer code) {

        super(msg);
        this.printStackTrace();
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}